package com.qingcloud.adminbackend.entity.equipment;

import com.qingcloud.adminbackend.entity.sensor.SensorParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class AddEquipmentDTO implements Serializable {

    private Integer id;

    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "设备状态(3:故障;2正常;1:维修中;0:报废)")
    private Integer status;

    @ApiModelProperty(value = " 设备种类(1:样机；2：新机）")
    private Integer equipmentCatagory;

    @ApiModelProperty(value = "设备ID")
    private String equipmentId;

    @ApiModelProperty(value = "产品型号")
    private String productType;

    @ApiModelProperty(value = "出厂时间")
    private String factoryTime;

    @ApiModelProperty(value = "物联网卡号")
    private String phoneNum;

    @ApiModelProperty(value = "生产厂商")
    private String manufacturer;

    @ApiModelProperty(value = "传感器")
    List<SensorParam> sensors;

    @ApiModelProperty(value = "在线控制（0：支持；1不支持）",example = "0")
    private Integer onlineControl;

    @ApiModelProperty(value = "是否需要预热（0：是，1：否）",example = "0")
    private Integer ispreheat;

}
